<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<script language="Javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.tablesorter.js"></script>



<link rel="stylesheet" type="text/css" href="css/style.css">
<style type="text/css">
div#navigation1 {
	cursor: pointer;
}
</style>

</head>


<body>

	<s:actionerror />
	<div id="full_table">

		
			

			<form id="form" action="insertstafflistintodatabase.action" method="post">
				<table id="example" class="tablesorter" width="100%">
					<thead>
						<tr bgcolor="yellow">
				
							<th>Staff Name</th>
							<th>Designation</th>
							<th>Joining Date</th>
							<th>Phone Number</th>
							<th>Address</th>
							<th>Email ID</th>
							<th></th>
							<th></th>
						</tr>
					</thead>
					<tbody>
						<s:iterator value="staff_list">
							<tr>
								<td><s:property value="staff_name" /></td>
								<td><s:property value="designation" /></td>
								<td><s:property value="joining_date" /></td>
								<td><s:property value="phone_number" /></td>
								<td><s:property value="address_line" /></td>

								<td><s:property value="email_id" /></td>
								
							</tr>

						</s:iterator>

					</tbody>
				</table>
				
				<div align="right">
				<input type="submit" value="Insert into the Database"/>
				<input type="button" value="Cancel" id="cancel"/>
			</div>
			</form>

		</div>
</body>
</html>